<template>
	<view>
		<!-- tabbar -->
		<view class="">
			<mallNav :active="active" :iconList="iconList"></mallNav>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				active: 1,
				iconList: [{title: '首页',icon: require('../../static/images/shop-icon-index.png')},
				{title: '分类', icon: require('../../static/images/shop-icon-classify-hover.png')},
				{title: '客服', icon: require('../../static/images/shop-icon-service.png')},
				{title: '我的', icon: require('../../static/images/shop-icon-mine.png')}],
			}
		},
		onLoad() {
			this.getCate()
		},
		methods: {
			async getCate() {
				const { data: res } = await uni.$http.get(`/Wechat/Shop/getShopCategory?member_id=${ getApp().globalData.member_id }`)
				console.log(res.data)
			}
		}
	}
</script>

<style scoped>

</style>
